package jmine.tec.report.impl;

import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

import jmine.tec.report.api.ReportFooter;
import jmine.tec.report.api.table.ReportCell;

/**
 * @author adalberto.kishi
 */
public class ReportFooterImpl implements ReportFooter, Serializable {
    
    private List<ReportCell> parameters;

    /**
     * C'tor
     * 
     */
    public ReportFooterImpl() {
        this.parameters = new LinkedList<ReportCell>();
    }

    /**
     * {@inheritDoc}
     */
    public void addParameter(ReportCell parameter) {
        this.parameters.add(parameter);
    }

    /**
     * {@inheritDoc}
     */
    public List<ReportCell> getParameters() {
        return parameters;
    }

}
